package com.cp.admin.modular.system.model;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 推广链接地址
 * </p>
 *
 * @author yy123
 * @since 2020-05-13
 */
@TableName("sys_share")
public class Share extends Model<Share> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;
    /**
     * 分享链接
     */
    @TableField("share_url")
    private String shareUrl;
    /**
     * 安卓下载链接
     */
    @TableField("download_android")
    private String downloadAndroid;
    /**
     * ios
     */
    @TableField("download_ios")
    private String downloadIos;
    /**
     * 时间
     */
    @TableField("create_time")
    private Date createTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getShareUrl() {
        return shareUrl;
    }

    public void setShareUrl(String shareUrl) {
        this.shareUrl = shareUrl;
    }

    public String getDownloadAndroid() {
        return downloadAndroid;
    }

    public void setDownloadAndroid(String downloadAndroid) {
        this.downloadAndroid = downloadAndroid;
    }

    public String getDownloadIos() {
        return downloadIos;
    }

    public void setDownloadIos(String downloadIos) {
        this.downloadIos = downloadIos;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Share{" +
        "id=" + id +
        ", shareUrl=" + shareUrl +
        ", downloadAndroid=" + downloadAndroid +
        ", downloadIos=" + downloadIos +
        ", createTime=" + createTime +
        "}";
    }
}
